<?php
/*
 +----------------------------------------------------------------------
 + Title        : Dict 控制器
 + Author       : Randy_chen
 + Version      : V1.0.0.1
 + Initial-Time : 2019/5/21 11:04
 + Last-time    : 2019/5/21 11:04+ 86187
 + Desc         : Dict数据字典
 +----------------------------------------------------------------------
*/


namespace app\admin\controller;


use app\common\controller\AdminBase;

class Dict extends AdminBase
{
    //获取字典数据
    public function gets(){
        $status_obj = new \app\common\service\SysDict();
	    $data = $status_obj->getTree();
        $this->success('数据获取成功!' , $data);
    }
}